const baseUrl = 'http://open3.ufunet.cn'
const comApiBase = 'http://open1.ufunet.cn'

// 微信部分的配置
const projectName = '0320ifs_ticket'
const appId = 'wx1543d749610a5c20'
// wx1543d749610a5c20

let wx = {
  appId, // ufun
  debug: false, // 是否开启微信debug模式
  title: '长沙 IFS美食之城',
  desc: '寻味长沙 IFS美食之城，更有惊喜礼品在等你！',
  link: `${comApiBase}/pages/redirect/dist/index.html?appid=${appId}&redirect_uri=/pages/h5/2018/${projectName}/app`,
  imgUrl: `${comApiBase}/pages/h5/2018/${projectName}/app/share.jpg`
}

let maoku = {
  AppID: '5ab9a99b3ae74e22d869f6be',
  PublicKey: 'klcRKQ',
  Mallid: '10248',
  CallbackUrl: 'http://open1.ufunet.cn/pages/h5/2018/0320ifs_ticket/app'
}

// if (process.env.NODE_ENV === 'development') {
// maoku = {
//   AppID: '5ab9a8f53ae74e22d869f6bc',
//   PublicKey: 'lqTZad',
//   Mallid: '10060',
//   CallbackUrl: 'http://open1.ufunet.cn/pages/h5/2018/0320ifs_ticket/app'
// }
// }

export default {
  wx,
  baseUrl,
  comApiBase,
  maoku
}
